You can change this behaviour if that's really a problem
https://zed.dev/docs/configuring-zed?highlight=Format#format...
Or there's a "save without format" command that I used once (when working on a pywal template for a zed theme, that is not valid json but Zed really wanted to format it)