The thing is with most non-office professions like that, especially those involving physical instead of cognitive work, it's much easier to disconnect and relax mentally after work than with software engineering where even once you're done for the day you can end up mentally ruminating about critical bugs or issues throughout the evening, especially if you have a lot of responsibility and you know people/business is counting on you.
SW dev work can be very stressful.