I assume the Dog overheard the owner talking on the phone to the Vet’s Office to schedule the Neutering.
They do understand a lot more than we realize.