In Australia, "pawpaw" is a name for the yellow papaya, a variety of Carica papaya.
If the person you replied to both 1) is Australian, and 2) did not read enough of the article to realize it was not talking about yellow papaya, then their confusion is legitimate.
It's called a pineapple because it looks like a pinecone, and pineapple is an older term for a pinecone (the "apple" being a somewhat archaic generic term for fruits).