To illustrate:
In my apartment, the lightbulbs in the bathroom and foyer are fed from the ceiling and the switch is on a loop.
In the bedroom, the juice comes in through the wall switch, goes up to the lightbulb and from there branches out a receptacle in the wall and the spur that goes the bathroom light.
This is a 50-plus year-old installation. Wonder if that's too many splices in that ceiling box....