Sometimes they stop you, sometimes they don't. For the same non-reason that sometimes you can put everything in one tray, but another time you can't put a jacket or liquids on top of your electricals.
They make up the rules depending on how bored or new they are.