An electron is a charged particle, so it naturally produces an electric field. When the electron moves, it constitutes an electric current, and moving charges generate a magnetic field as per Ampère’s law.
Therefore, a moving electron produces:
An electric field (due to its charge)
A magnetic field (due to its motion)
A moving electron produces both electric and magnetic fields. Hence, the correct answer is \({\text{B}} \).