This is probably due to Microsoft’s SMB access changes. I think that Win 11 Pro had this for a while (at least in some variants). It seems that with the recent Windows 11 update, 24H2, they pushed this into the Home edition as well.
The change is that Microsoft does not allow a Windows client anymore to connect to SMB shares with unauthenticated guest access. The instructions in this post will help you reinstate it: