Not only can an immense build up of stress affect your body, it can also affect your thoughts and feelings. Stress that isn’t checked can lead up to much more severe cases such as high blood pressure, heart disease, obesity and diabetes
A healthier way of reacting would be to congratulate your friend and be happy that they made the team. Support them and practice with them so you can try out for the team next year.