Replacing TO-220 MOSFET with SMD DPAK
This is the Safe Operating Area (SOA) of IRFBG30 you were using:

..and finally IPD95R1K2P7:

Now compare the &quot;10ms or DC&quot; portion of the SOA curve, highlighted in yellow on the last one. The first FET has a constant power SOA limit, that is Vds*Id is constant, which in a log-log graph manifests as a straight line with a downward slope of &quot;10x more volts, 10x less amps.&quot;
However, the second FET has double the slope, and since the graph is log this means &quot;10x more volts, 100x less amps.&quot;
This indicates the first FET should be fine for linear operation, but the second FET probably has some localized self heating / hotspot / current hogging phenomena that makes it a lot less robust in linear operation. It's most likely optimized for switching only, at the expense of linear.
Also at 13mA DC, the voltage you intend to use violates the SOA by a quite substantial margin so it will probably pop.