He was a socialist when he was young. When the empire lost it’s mainland he defended what he found which was anatolia. Mustafa opened a communist party to get money aid from SU. During the Turkish liberation of war Mustafa Suphi his rival and founder of TKP was coming from Azerbajian to fight against the imperialist. He ordered to assassinate him so we lost a bolshevik revolution possibility. During the Armenian genocide he was not a general in army he was on exile in Syria. Talat and Enver are responsible for genocide and later Enver killed by a Armenian.
Mustafa had to make a bourgeoisie revolution because proletariat was weak and unorganized at that time and only leader that can organize them was killed by him. Furthermore, it was a win against the imperialist and settlers. Then, bourgeoisie allied with the who invaded them and today the same companies funding the Erdogan to keep him in line and NATO.