How to enable Pages Collaboration on Mac?
This might not be a full-fledged solution, rather a step in the right direction- have you tried restarting your computer in Safe Mode? If there is a rogue app/or extension causing the issue then Pages will function correctly and you can start investigating the apps/extensions you have installed that might be the culprit.
Apple Support- Safe Mode