that is because when allah alone was called upon you disbelieved and when associates were given to him you believed so judgment belongs to allah the high the great.
ذلكم بأنه إذا دعي الله وحده كفرتم وإن يشرك به تؤمنوا فالحكم لله العلي الكبير