Nexus 5x - No one can hear me on the phone
I had this same issue with my HTC One. It turned out that the background noise cancellation software build into the phone canceled out too much (thus cancelling out my voice). This especially happened when it was windy outside.

That being said, I haven't heard of this being an issue with the Nexus 5x. I would start with contacting Google support.