I feel grateful when a good thing happens in the day. Today two good things happened, so I feel extra grateful.
But grateful towards who, or what? Towards the universal forces that, invisibly, conspired to make the good things happen. I am part of those forces too, of course. It's useful to give those forces a name. Collectively, I call them God. When a good thing happens, I say الحمد لله.