think about real life scenario it will make it easier to comprehend: when you go to the grocery to pay off someone's bill, which account does the store keeper enter the payment? by the account that has the bill/charge, and you get a receipt,
same here you always enter the payment in the account that has the pledge/charge, there is a column to enter the linked account where the payment came from and it only effects receipts