Jealous and pup thinks other dog is taking his place with you. Close the door and spend a little more one on one time with him. He then might know you love him as you used to, without sharing that special time with him. I had a pup like this long ago and this is what I did and it worked. Because he felt there was no threat or love lost with him.