Borrowed from phonetics
Unicode has no official small-caps alphabet. Most of these letters come from the International Phonetic Alphabet and phonetic extensions, where small capitals mark particular sounds. The q and x have no small-cap form, so the closest match is used.
Superscript letters come from the Modifier Letters block, used by linguists for things like aspirated sounds (ʰ). The q is missing there too.