Put the section of NC code up that you are using.
-also what is your tool holding method ? ( solid collet chuck or floating tap holder )
-material being tapped ?
-hole size ? ( should be Ø8.5mm for M10 x 1.5Pitch tap)
-and is the tool / holder on centreline of the spindle ?
With the info you've given us, we don't know if you even drilled a hole