If you're referencing files in the Windows file system, they do not, by default, retain Linux permissions.
However, there's a way to enable that. Edit or create (using sudo) /etc/wsl.conf and add the following:
[automount]
options = "metadata"
Shut down all WSL instances and restart an instance, and any chmod changes are now retained.