Minecraft wiki entry for Spawn, associated text: The entity interacts with a player:
Is ridden by the player.
Is named with a name tag.
Is tempted with food.
Is bred, or born as a result of breeding (except for turtles hatched from eggs before 1.17.10 [9]).
Is tamed by the player
Is summoned using the /summon command or a spawn egg.
Is cured (curing a Zombie Villager spawns a villager).
Is spawned by the player triggering a skeleton trap (spawns skeletons and skeleton horses).
The entity picks up an item.
The entity is spawned during the generation of a certain kind of structure:
Shulker spawned in an end city.
Witch spawned in a swamp hut.
Villager or zombie villager spawned in an igloo.
Villager or animals spawned in a village.
Zombie villager or animals spawned in a zombie village.
Vindicator or Evoker spawned in a woodland mansion.
The entity is spawned in a raid.
The entity is spawned by the conversion of a persistent entity. For example, when a persistent zombie converts to a drowned, the drowned inherits the persistence.[10]