MacOS partition not working on bootcamp

Windows cannot read APFS volumes. Boot Camp support software provides HFS+ drivers, not APFS. You will need third-party software to read files from APFS disks, such as https://www.paragon-software.com/home/apfs-windows/ (no affiliation and not tested).