Muslims are very communal in muslim majority areas (Like Saudi Arab, Dubai, Pakistan, Malayasia, Bangladesh, Kashmir etc). But they become secular, wherever they are minority.
They kill communists, wherever they are majority. But support communists where they are minority (Kerala, West Bengal).