Professionalism doesn't even come into it. You're under no obligation whatsoever to even tell them why you're leaving but if you do, you're doing them a favour. If they know what's good for them they'll have exit interviews but I doubt that's a thing they do if they're not willing to hear you out or fix things when you're actively working for them.