It’s simple, energy isn’t generated, it’s transformed from one person to another. When you meet someone, the reaction of that person is the energy that you transformed to that person.
Whatever type of energy you have generated will be reflected. Next time when you see someone and if the person isn’t as positive towards you, pause and reset the energy you are generating.