Most likely you were the victim of an en-passant take. Don’t feel too bad, many casual players are not familiar with it. Please consult the official chess rules for details.
Do you want to receive notifications about new SparkChess articles, puzzles, and updates? If so, choose 'Allow' when prompted.