Hello Nabeelr,
Could you check that you haven't add the folder to Restricted Folders by mistake? Check in:
Windows Security, and click/tap on the Virus & threat protection icon
Click/tap on the Manage ransomware protection link under the Ransomware protection section
Click/tap on the Protected folders link
Click on the folder then the button Remove will appear
About WSL, not an expert, but I would check the access permissions for itself:
https://learn.microsoft.com/en-us/windows/wsl/file-permissions
Hope this helps,
Best regards,