Government (you can especially see this, nowadays, in the US) does not act as a unit. It’s too big to generally agree on all of the disparate agendas it contains at any given time. It’s not that the left hand doesn’t know what the right hand is doing, it’s more like that the left foot and the right foot keep stepping on each other, deliberately.