No mystery. He was flown home for the photo op (at our expense) on Arf Force 1.
As I recall, Bo was a little too much dog for Barry to handle. I think they brought in a more docile double for photo ops where Obama doesn’t want to look like the dog is leading him by the leash.