Tamar, was the earlier born daughter of David's wife, and thus not biologically related to David, nor Amnon.
Tamar, being the elder daughter of David's wife, is not biologically related to David or Amnon.