Multiple item tax sub-totals are shown incorrectly on confirmation pages and emails
This issue is reported at https://lab.civicrm.org/dev/core/-/issues/1603 and there was a fix merged into 5.27 which is scheduled to be out today, unfortunately the fix was reverted since it created regression bug.