What’s the reason for that?
If masquerading is disabled, port forwarding and VPN policy may become invalid.

Firewall rules are configured in the script to ensure that even if the firewall is modified by other programs, as long as the VPN up and down, the firewall configuration can be restored.
For most users, they don’t know how to configure the firewall.