I haven’t experienced this myself. And I’m currently using a fairly old MacBook Pro with Catalina and … wth! The “About This Mac” reports it as a MacBook Air…
What does the Activity Monitor show in CPU usage for Defold when it happens?
I’ve experience occasional spikes in CPU when I have many script files open, but I haven’t been able to pinpoint the problem and it happens rarely.