What causes a rash in children after an episode of fever?

Usually viruses. It is not uncommon with several viruses for rashes to appear sometimes during the illness sometimes when the fever ends. If there is any question consult your pediatrician.