nnnik, that's not a very sensible comparison.
Most languages can produce a virus. And I don't see all the other languages getting blocked.
Every compiled AutoHotkey script is virtually identical except for its "payload" (the script text), whereas each compiled C/C++/C#/VB/(any other non-scripting language) executable differs for each program. If one script gets flagged as a virus, it's likely that many other legitimate compiled scripts will be affected. That's probably already happened; it's one source of "false" positives.
AutoHotkey is also much less widely used than C/C++/C#/VB/etc., a single program vs numerous compiler tool sets by different developers, and developed by a handful of people rather than hundreds (or thousands) of developers and various corporations (such as Microsoft), so it is more vulnerable to being blacklisted in some way.
With that said, it seems exceedingly unlikely that Microsoft would bother to block AutoHotkey at the OS level, unless you count Windows Defender false positives.