that is because when allah alone was called upon ye disbelieved and when some one was associated with him ye believed. so the judgment is of allah the exalted the great.
ذلكم بأنه إذا دعي الله وحده كفرتم وإن يشرك به تؤمنوا فالحكم لله العلي الكبير