Short circuit in dryer?
Most of the dryers I have repaired with similar issues have had the Ni crome wire (heating element) break and short. Replacement elements are usually less than 50$. Several times once the broken heating coil broke loose from the metal enclosure everything but the heat worked. Checking the heating element with a meter will show if it is open (broken) or normal less than 50 ohms. One family member had this happen 3 times over several years 2 small holes where the coil arcing caused a small hole that I sealed with metal high temp duct tape. The thermal fuses on that model were 4-5$ the replacement coil was ~28$ and since it is now one of my kids it was free trouble shooting and repair,  things that can cause this are not cleaning the lint filter or taking it out and the pipe fills with lint and ? Now she even has her husband clean the exhaust pipe  just in case once a year but this has happened to me also on a verrry old dryer the wife said she wanted gone but I kept fixing it for way less than a replacement it is now at our other daughters house running strong after her second baby I think it is older than she is but not sure but it still works. Belts , rollers , heat coil's/ fuses and a new filter have kept 1 high capacity dryer running for 32 years +. Dryers are easy with a little time and an ohm meter Or continuity checker.