Have you taken him to the vet? Perhaps it was a coincidence and he had some sort of infection while you were letting him on your bed. Really, they're supposed to be naturally expressed when they poop....if he's actually expressing his glands on your bed--not just licking to clean, which is sometimes gross when they do it on your furniture, but normal-- then he may have a problem that needs to be evaluated by a vet. These can all be signs of anal gland problems:
-Excessive licking of their rectum
-Straining, vocalizing, or otherwise having difficulty or pain when defecating
-A swelling or “bump” under the skin next to their rectum
-Blood and/or pus on their stools
-Blood and/or pus on the carpet, their bed (or your bed), or on your lap after they’ve been laying there
Dominance between a dog and a human is a myth and not at all a thing, so you don't need to worry about that.
Did you thoroughly clean the bedding where the incident occurred? He could still be smelling that. Clean your mattress, too, with a product like Nature's Miracle.
In any case, I think I would discuss those problems with a vet to clear him medically. He may not be doing it now, but if it happened once it may occur again, and if you let it go too long the problem only gets worse and more expensive.
-Excessive licking of their rectum
-Straining, vocalizing, or otherwise having difficulty or pain when defecating
-A swelling or “bump” under the skin next to their rectum
-Blood and/or pus on their stools
-Blood and/or pus on the carpet, their bed (or your bed), or on your lap after they’ve been laying there
Dominance between a dog and a human is a myth and not at all a thing, so you don't need to worry about that.
Did you thoroughly clean the bedding where the incident occurred? He could still be smelling that. Clean your mattress, too, with a product like Nature's Miracle.
In any case, I think I would discuss those problems with a vet to clear him medically. He may not be doing it now, but if it happened once it may occur again, and if you let it go too long the problem only gets worse and more expensive.