Tamar, was the earlier born daughter of David's wife, and thus not biologically related to David, nor Amnon.
Tamar, as the older child of David's spouse, was not biologically connected to either David or Amnon.