Ttc after miscarriage?

It’s been over 2 weeks since my miscarriage. And doctor checked me, everything looks good and everything is clean. She said to wait 2 months to ttc. I have been seeing a lot of women say their doctors told them they can start right away, or after their next cycle. I’m wondering why I have to wait 2 month. Anyone else Doctor told them to wait that long?