The default key that is generated for your AppSync API expires in only 7 days. It would be a big pain in the fingers to update your app every 7 days!
Instead, you can use AppSync to create and configure your own API key, where you can set whatever expiration date you want.