Assalam’Alaikum ( السلام عليكم ورحمة الله وبركاته)
Everything happens with the will of Allah (SWT) ( الله سُبْحَانَهُ وتَعَالَى) whether it be an positive action, positive news, positive outcome, or positive emotions.
He is the controller of the Universe, the world (seen and unseen, or heard and unheard). We have to realize that and our trust in Him.
Anything bad or negatives comes from ourselves/within, Satan, and anything that befalls on us may come from within us, Satan, or Allah (SWT) ( الله سُبْحَانَهُ وتَعَالَى), inspite of all that, Remember Satan is not our friend and we are made with limited knowledge, but Allah (SWT) ( الله سُبْحَانَهُ وتَعَالَى), He, Himself wants the best of best for us.