 this is because when god alone was invoked you denied the truth yet when others were associated with him you believed in them. judgement rests with god the most high the most great.
ذلكم بأنه إذا دعي الله وحده كفرتم وإن يشرك به تؤمنوا فالحكم لله العلي الكبير