In medieval times they believed that when someone sneezed the body was expelling demons. by saying "god bless you" they were hoping to guard against the evil spirits entering the body again.
If you don't say "God bless you " when someone sneezes around here it's a mortal insult.
I saw two barbers almost come to blows because one didn't hear the other one sneeze and didn't bless him.