Killing a piglin, hoglin or a shulker on peaceful mode grants the advancement "Monster Hunter" which is not supposed to be achievable on peaceful. The "Monster Hunter" advancement also gives the description: "Kill any HOSTILE monster" and as the hoglins, piglins and shulkers are not hostile on peaceful mode, this advancement should not be granted when they are killed on peaceful mode.
Shulkers do grant the "Monster Hunter" advancement way before this ticket got created. Also I think they grant the "Monsters Hunted" advancement which you can get 3/27 mobs killed.