If you look at the history of pizza, there were things that were called that in Italy and had nothing to do with what we know as pizza today. Some types of pizza were sweet pies or pancakes.
What we call pizza today was the street food of Naples' workers, a kind of open top sandwich to eat on the go.