 this is because when allah only was invoked ye disbelieved but when some partner was ascribed to him ye were believing. but the command belongeth only to allah the sublime the majestic.
ذلكم بأنه إذا دعي الله وحده كفرتم وإن يشرك به تؤمنوا فالحكم لله العلي الكبير