See also: the first guy who looked at an udder and thought "I wonder what will happen if I yank on those bad boys JUUUST right" or "look at that calf just sucking away like it owns the world! I want some of THAT action!"
Women have tiddies we can suck on and we know milk comes from there. Seeing a calf nurse can have us assume we can get milk that way. A + B means we can get milk from bovine that way.
Yeah, but what would make him WANT that milk? It's not like any humans except babies had been drinking milk until then and cows, though adorable, are not the cleanest animals..
Wasn't this the nomadic people who did this with their goats or something? And before that's lactose tolerance wasn't that common. So most of them probably had stomach aches a lot until it became common over generations
Aside from hunger, humans weren't insanely concerned with dirt. If it was bad or rancid they'd stay away, but remember this was the time before washing hands.
Beer makes even less sense. How thirsty do you have to be to look at a container of rotten wheat water, to decide that maybe that water is clean enough to drink?
Wine at least makes a bit of sense since I'm pretty sure that vinegar predates wine. Beer though? Nope.
One of the theories on alcohol is mead (honey wine) was the first alcohol. Supposedly hunters would throw a bit of honey into their water skins and go hunting. When they came back, they might not have finished it and when used again, it was alcoholic. Eventually they noticed the effect and enjoyed it.
I'm sure after that much experimentation was had on different carbohydrates.
Beer seems hard though. You have to boil it just right to make it right, before you even start fermentation.