There is Pal A with an ability stating AUTOOn Attack Choose up to 1 Pal, and deal X Damage.. Pal A attacks Pal B which possesses AUTO Retaliate (When this card is put into the graveyard during battle, put the opposing combat Pal into the graveyard), and with AUTO deals Damage to Pal B, putting Pal B into the graveyard. In this case, is Pal A put into the graveyard by Pal B's AUTO Retaliate?
No, it is not put into the graveyard. A Pal's opposing combat Pal is determined after blocking. Because the opposing combat Pal has not yet been determined at the time of attack declaration, it is not put into the graveyard by AUTO Retaliate.
There is Pal A with an ability stating AUTOOn Attack Choose up to 1 Pal, and deal X Damage.. Pal A attacks, and with AUTO deals Damage to Pal B that possesses AUTO Retaliate (When this card is put into the graveyard during battle, put the opposing combat Pal into the graveyard) and is not the target of the attack, putting Pal B into the graveyard. In this case, is Pal A put into the graveyard by Pal B's AUTO Retaliate?
No, it is not put into the graveyard. Because Pal A is not Pal B's opposing combat Pal, it is not put into the graveyard by AUTO Retaliate.
My Pal attacked an opponent's Pal. During this, the target Pal left the base due to an On Attack ability of my attacking Pal. In this case, can I change the target of the attack to the opponent player or another Pal?
No, you cannot.
Even if the target Pal leaves, the battle proceeds as normal. However, because there is no battle opponent, the battle ends without the attacking Pal dealing or taking any damage.