The word "呀" in "未呀"actually can be omitted.
Moreover, the meaning of "未" is "didn't ", "呀" and "吗" are mood auxiliary words. the mood meaning of "呀" has many meanings, and "吗" usually just expresses doubt/question.
Therefore, in this sentence, the similarity of pronunciation is just a coincidence.