Why can't I change a restricted System file after doing csrutil disable?

The restricted flag only applies with System Integrity Protection enabled. It tells SIP which files to protect. If you disable SIP, the restricted flag has no effect.

Disabling SIP doesn't give you permission to the files though. You'll still need sudo or change the permissions yourself to edit the files.