This arises when a pawn uses its initial-move option to advance two squares instead of one, and in so doing passes over a square that is attacked by an enemy pawn.
Pawns can use their initial-move option to advance two squares instead of one, which by doing so, passes over a square that enemy pawns attack.