I have always wondered why the pontiff wears a yarmulke.
The cardinals also wear yarmulkas but red ones the pope wears a white one.
I believe the vestments are imitating the the talis.
As for the yarmulkas who knows?
Imitation is the best form of flattery.