7Apple likes to put up unnecessary walls around its ecosystem. So that a consumer of one Apple product feels compelled to use only other Apple products for seamless inter-connectivity between the devices. That might be why connecting a Windows 10 PC to a Mack on the same network is often a hectic process.
If you want to share files from a Windows PC to a Mac computer is complex than it needs to be, and it applies when sharing files either way. If you want to share files between two Mac computers, you simply use AirDrop. If you are on two Windows PCs, you can access each machine via the Workgroups on the network. So why is it an uphill task when the two devices are either a Mac and a Windows PC?
Although when you are on your Mac and have a Windows PC also in the same network. You will see the PC under the Shared folder on your Mac. Though clicking it and Connect As will just bring up the ‘There was a problem connecting to the server’ error.