Because he wants out...and you're right, it's bad for his nose (face) & in time can cause an abscess that requires surgical drainage to fix.
Why do snakes want out of their cages? Many possible reasons (in no particular order) so this is for you to determine what makes sense in your case:
The urge to mate? Nearby snake of opposite gender (snakes have extremely good sense of smell) & both are of breeding age. (I am not encouraging you to breed,
by the way...consider moving cages to separate rooms, etc. if this is the issue.)
Cage is unsuitable in some (or multiple) ways...too small, too warm, not enough hiding places to feel secure, etc. (double check cage temps. & properly regulate heat)
Snake smells fresh outside air & is just curious.
Snake is hungry & "room service" is too slow.Or snake is smelling potential prey nearby. (any other pets?)
Snake detects some weakness in the cage (& they remember their way around, btw). Some will persist in trying to escape. Boredom???