You can't heatsink a DPAK so that Tc=25C under load, but they rate them that way regardless. Or they often do.
Whereas Ta=25C it's doing, a watt or so, and definitely not as much DC current. The difference could easily be 3 vs. 30A. Also matters what the layout is, if it's minimum footprint or, say, metal or ceramic substrate!
Tim