It's about the contents of the bottle.  You can have alcohol and perfumes in the cabin as long as it's been purchased in duty free.  That way they can be sure about what's in the bottle.

How are you going to set fire to a bottle of alcohol on a plane anyway?