Did you recently delete a bunch of photos? I wonder if all that space is being taken up by the Recently Deleted folder.
Click on this link about how to 'Set up and use iCloud Photos' --> Set up and use iCloud Photos - Apple Support - "The photos and videos that you delete on one device are deleted everywhere that you use iCloud Photos. Photos and videos stay in the Recently Deleted folder for 30 days before they're deleted permanently."