This is standard nomenclature. Something flipping along a vertical axis is flipping horizontally, i.e. exchanging left for right. Flipping along the horizontal axis is exchanging up for down: vertically. An axis is always perpendicular to the direction of movement, and the flipping refers to the direction of movement, not the orientation of the axis.