Most of those bosses have zero technical knowledge, straight out of pure business school, probably the only software they used during their degree was Office or similar.
Then there are those from other backgrounds that somehow landed a position in management as well.
It is like politics, as long as the boat is going forward and not letting them do a bad figure in whatever evaluation meetings are taking place, all is fine.