Because if there's a creator then there must be some kind of purpose. If there's no creator then everything that's going on, all the hardships of life, at end of the day is all just a bunch of stuff that happened for no reason. That's frightening, and belief in a creator gives (false) comfort.
"Men see clearly enough the barbarity of all ages — except their own!" — Ernest Crosby.