The energy of a photon of characteristic x-ray from a Coolidge tube comes from
the K.E. of the striking electron
the K.E. of the free electrons of the target
the K.E. of the ions of the target
an atomic transition in the target
the transition of electron causes the emission of photon