This is called "spillover effect".
Spillover Effect is defined as the tendency of one individual's feeling or emotion to influence how other individuals around them feel. For instance, the boss got a telephone call that his wife was pregnant with a much-anticipated child. He goes into meeting glad and energized, and in spite of the fact that he doesn't enlighten his colleagues regarding the good news, his great mood rubs off on his colleagues and they feel happy also.