My theory about the Biden dog(s) being in the White House:
Because his dog does not get along with the security dogs - that are also drug detectors.
That is an interesting theory.
Dogs are very sensitive to what their masters like and dislike and as protectors to their masters will act on what they pick up. Specific training is not really necessary.