The electrons striking the anode get deflected by the heavy nucleus. Though the speed may or may not change, the direction of motion changes which leads to acceleration. The charged particles emit radiations when accelerated x-rays are produced.
So, why is it said that it is produced due to deceleration of electrons? Do the electrons surrounding the nucleus cause this deceleration? If so, which is the major reason for production of x-rays : (1) Deflection by the nucleus (2) Deceleration by surrounding electrons?
When I googled about x-ray production, different websites explained the production of x-rays in slightly different and I couldn't find the effects of repulsion by electrons surrounding the heavy nucleus of the anode in this process.