X-rays are produced when a stream of electrons in an X-ray tube?

A ) Hits the glass wall of the tube

B ) Strikes metal target ✅

C ) Pass through a strong magnetic field

D ) None