Its not always Windows. I can't remember where it was but also either or both networking hardware driver or router can also affect SMB which is what Windows uses for it. Also other issues may be present in those two points as well for some.
Also Windows 11 may do certain things with SMB that they may not do on Windows 10 so they might also become incompatible. As far as I'm aware they aren't concerned about maintain compatibility between different OS version such as Windows 10 SMB has been incompatible with Windows 7 and possibly Windows 8/8.1 too.
I could definitely see at least with you that the NAS working could be a SMB related issue.
Anyway anyone here spins it though, there's 101 other ways to connect computer over the network. The NAS is one. No need to limit oneself to the problematic Windows network sharing.