If the MOSFET is switching an inductive load of 10 A also the free-wheelingflyback diode must be able to handle that current.
A 1N4007 diode does not (or only for a short time; only 1 A continuously).
Depending on the amount of energy stored in the load (including the mechanical system connected; e.g. rotating mass) the diode may get damaged and then also the MOSFET.