en passant, but their pawn took my knight
Only pawns can be captured en passant. It's specifically a rule in response to the the initial two-step move of a pawn past the opponent's pawn on its fifth rank.
That absolutely shouldn't be possible here. Do you have a link to the game?
Link to the game?