 this is because when allah was invoked alone you would disbelieve but if partners were ascribed to him you would believe. so the judgment belongs to allah the allexalted the allgreat.
ذلكم بأنه إذا دعي الله وحده كفرتم وإن يشرك به تؤمنوا فالحكم لله العلي الكبير