In some planes the only way to get to the lavatory in your ticketed class is by walking through the galley.
And if you're on a long haul the FAs will set up drinks/snacks in the galley during the time they want you to be sleeping too. There's lots of reasons why as a passenger you might step in to a galley area.