Does a non Jew preparing a fresh pie of pizza in an oven constitute Bishul Akum or Pas Akum?
Pizza is baked - not cooked so it’s not a bishul question.
If your non-jewish neighbor made you a pie, that would be pat-akum. (Assuming there were no other kashrut problems such as cheese)
If store bought, it’s Pat Palter which would be ok.