This is pretty much the exact same thing reworded for people who are new. And it's for faces.
Blender calculates which loop to select based on the distance from the center of your click. If it's to the left or right, it'll select the horizontal; up or down of the center, and blender selects the vertical loop.
It really depends on which side you right-click on. if I was trying to select the horizontal loop, I'd click on the spot right in between the two faces.
Same for vertical, just click on the top edge.
Edit; it's the opposite for edge or vertex.