Why? That is simply because the formatting action will damage your data saved on that drive. You should click Cancel instead of Format disk when seeing this prompt. But after connecting the Mac-formatted drive to Windows, a prompt window will pop up automatically on the screen, saying that they need to format the disk before use. Some took action: they removed the drive from Mac and connected it to a Windows PC properly.
Many people doubt that whether they can read Mac drive on Windows.