Except, of course, the cleric just might be making scrolls and potions and wonderous items himself. Oh, and cleric healing DOES cost xp (Restoration/Raise Dead/Ressurection).
The fighter is putting him/herself between the fragile wizard and danger, thus is more likely to die and lose xp that...