every time I update macOS, some of the system settings are changed to default including some in the firewall
Windows has also been doing that for some time now. Only Linux is relatively "clean" from that perspective, but even now some distros are beginning to sneak in spyware. The enshittification of OSes continues...