Gender in French is etymological. Pizza is feminine because it is in Italian, and also, we “feel” that.