Restrictions on bringing liquids on planes were introduced in 2006 citing security concerns about liquid explosives. See e.g. 1.
I am skeptical security reasons are the true motivation. Shortly after the "liquid explosives" had been in the news several years ago, I investigated a little on myself. As I remember it, I read that such explosives would look like unsolved sugar, and it would have distinctive smell. Anyway at that time you were not allowed to bring your water with you, even when the bottle was sealed, and you could buy the very same at the gates (at a higher price) again.
In the meantime, most European airlines stopped to provide any water during flights for free (not to talk about other beverages or food).
Having read that there are automatic tests available for some time, I wonder whether the ban for water is really because of security, or because of the extra income. For example, if I buy mineral water at the local super market, I play like 15 Euro-Cent for half a liter, but when I buy such after the gate they want 2.90€ for the bottle, and on the plane they want 3.80€ for a bottle. I would think 1€ would be expensive enough!
So abandoning your water bottle is not a universal requirement anymore.
– Neil Tarrant Oct 05 '23 at 13:19