Funding fees exist because there is a price difference between futures, specifically perpetual contracts, and spot markets. However, since perpetual contracts are not settled, funding fees are settled every few hours to align the price difference between futures and spot markets.