Connection between thankfulness and God’s blessing

Why is being thankful and God’s blessings so intricately connected?