It's easy to run out of iCloud storage space. No matter if you’re using the 5GB that comes free with your iPhone, or if you’ve gradually upgraded to 50GB or even 200GB, running out of space ...
You will need to choose how much iCloud storage you think you need. There’s a free 5GB but that’s not enough for anything useful. If you are syncing all your photos you will need a lot of storage.