@InfraBlue,
(Sorry, earlier reply lost)
Only the
history of "grammar" of the language decides that.
Phonology is to phonetics as economic theory is to accountancy. It is an abstraction.
Some sort of orthographic representation is required to reflect the concept of sequential morphemes and traditional orthography is historically functional in that respect. The IPA has nothing to do with phonology. It is a phonetic convention.