Successful people always attribute luck because they usually underestimate their own special qualities or don't acknowledge it. This is the reverse Dunning-Kruger. While non-so-successful people will attribute other's success as luck because they think they also possess such qualities but didn't have the "luck". Creating a great product has less to do with luck than product/market fit. That is extremely difficult.
The probability of "luck" increases with marked investment in preparation. Preparation includes understanding the market and the problem, and building a product to solve the problems identified for that market. A great product does not beget product/market fit. Rather, a product that delivers a solution, communicated well to a market that needs that solution, may result in product/market fit (growth). Hence, understanding the needs of a market are critical. Therefore, research (preparation), a marketing discipline, is a crucial precursor for the elusive luck we all seek.