The Left is not monolithic, it is better understood as a coalition of separate forces with different interests united against a common, feared enemy.
What you perceive as "manical stupidity" is fear. Fear of a common enemy is one of the few things that can glue together a diverse coalition.