Need help with my new dog

New Dog

Hey everyone. Long story short, we rescued a puppy (male) 7 months ago. He’s amazing and well-trained. Just last week, my wife rescued a smaller dog (6 years old, female) who is somewhat housebroken. We’ve been keeping her crated a lot, and as soon as we take her out, we take her outside to pee/poop.

I’ve noticed that when we let her roam, she tends to spot (pee) next to my puppy’s bowl. How can we fix this?

Thanks in advance.