Thanks for your feedback!
There is a hint in the top right corner which tells what squares the pawn is threatening.
I basically assumed that the pawn attacks upwards because it faces upwards