Well, if you get far enough into an endgame that computers can start using their endgame tables, they play perfectly.
But I think you're asking about earlier in the endgame, when there is less material than a middlegame but still a nontrivial amount. The reason computers are relatively weaker there than in other parts of the game is that the specific variations are of lesser importance to abstract strategic principles.
Silman gives a nice example of this in his endgame book -- he was in a position against a '90s-era computer in which there was a locked pawn structure in the middle, and each side had a bishop and a knight. The computer, programmed to think that bishops are better than knights, allowed an exchange of Silman's bishop for its knight. That produced a strategically won game for Silman, because a knight is more valuable in an endgame scenario like that.
A modern computer would not make that same mistake, but the point is that the win was based on a strategic idea, not a particular variation or position that the computer could brute-force to identify as superior. It might take 30 or 50 moves to realize your advantage, beyond the event horizon of what a computer could do. A human has no need to evaluate that deep, but a computer would have to, to be able to make a judgement, and can't.
The general thinking is that computers are bad at analysing "end game" scenarios...I don't understand this...the permutaions and combinations are far less....thus it should be easier.
Can anyone explain this?