Hi, corn210.
If the stored data on your device exceeds what's available in iCloud, it'll cause this to happen. If that's the case, you'd need to either increase your iCloud storage or remove storage from your device.
This article will help with identifying what is using your storage: How to check the storage on your iPhone, iPad, and iPod touch - Apple Support
Cheers.