pronoun (ablative + enclitic conjunctive)
Analysis. tamhā (ablative singular of ta 'that') + api (enclitic 'also, even'), sandhi-contracted: tamhā + api > tamhāpi. The ablative marks source or separation; api adds emphasis or the sense of concession.
Etymology. ta is Indo-European: Sanskrit tat, Latin is-te, English that, German das all descend from PIE *to- 'that'. The ablative ending -smā is the Indo-European source-marker, here levelled to -hā by Pali's sound changes. api is an enclitic particle, likely related to Sanskrit api and possibly akin to Greek epi- (toward, upon) in its emphasizing function.
Meanings from the Digital Pāḷi Dictionary; morphology and etymology by Claude.
Lite mode — plain HTML for e-readers and old browsers. Full version