The credit ratings agency cited concern over “deteriorating public finances” and growing “political polarisation”.