Yes, anxiety and stress can contribute to bed-wetting in dogs just like it does in humans. Changes in household routines, separation anxiety, fear of loud noises or thunderstorms can all trigger a dog's stress response leading them to lose control over their bladder while they sleep.