Of Slavic origin; from Old Church Slavonicпопъ(popŭ), from Ancient Greekπαπάς(papás), variant of πάππας(páppas, “daddy, papa”). Compare also Aromanian popã, pãpã.
Or alternatively, and less likely, from Latin popa, papa, hence its presence in other neighbour languages.