When we figure out why something happened, we look for a plausible reason, but one that also fits our wishes. When a good thinking happens it is because of our skills/decisions. When a bad thing happens it is because of luck1.
Duke, A. Thinking in Bets: Making Smarter Decisions When You Don’t Have All the Facts. (Portfolio, 2019).