With Callable Horses and Carry On mod installed, the horses spawn when pressing the key binds for calling the horse. It also doesn't let new horses to become new pets and responds that you already have a personal horse, even if that horse gets killed.
Current Key binds:
Couldn't find a specific trigger but it hasn't gone normal ever since the bug was triggered.
Minecraft Version: 1.20.1