that is because when god was called to alone you disbelieved but if others are associated with him then you believe. judgment belongs to god the allhigh the allgreat.
ذلكم بأنه إذا دعي الله وحده كفرتم وإن يشرك به تؤمنوا فالحكم لله العلي الكبير