Phantoms still spawn and exist in peaceful mode. The phantoms will also still fly at the player and make their attack sounds. While they do fly at the player and make the sounds, they do not deal damage if you are playing on peaceful difficulty.
The phantom on peaceful
Re: The phantom on peaceful
shulkers spawn in peaceful mode?
Phantoms attack, no matter how much you sleep.