Welcome to the Community. It could be that a bank rule is created to automatically tag the transactions as expenses from your account to another account, which is why the transfer is accounted as an expense.
If this is the case, you can edit or delete a bank rule. Here's how:
Go to the Settings menu, then click Rules.
Find the rule and select Edit if you want to modify it, select Delete if you want to remove it.