It is easy to confuse gratitude with what might better be called appreciation.
Gratitude assumes someone or something to which we owe our thanks, a benevolent and powerful other that bestows gifts: a king, a divinity.
Appreciation is possible without a gift-giver. Atheists can appreciate. Christians have no choice but to be grateful.