"God" stands in for the name of the monotheistic deity, hence it is capitalized. It is because it is a name that it is capitalized by even non-believers. Even if He has another name, like Yahweh.
Even if a non-believer is using the concept of the monotheistic God, he should still capitalize it. Like "Christians believe Jesus is God."