Many theories behind it. The one I stuck with was the sponsors. When a goal is scored, that's the moment for the main sponsor logo on the shirt to be seeing for the longest possible time. Take the shirt off and there goes free the advertising time. FIFA reached an agreement with sponsors.