I think one of the ten commandments is "thou shalt not take (or use) the lord's name in vain". That's the reasoning behind what he said below. I guess you already know this though. Sometimes I think the first phrase would be used in situations that are more emotionally charged or shocking, like witnessing a car wreck or tornado or something, or if something bad has happened.