The optimistic style of explaining good events is the opposite of that used for bad events: It's internal rather than external.
Martin E.P. Seligman (2011). “Learned Optimism: How to Change Your Mind and Your Life”, p.92, Vintage