Well, in motosports, the competition is not only between riders but also between team/constructors. A team needs to prepare a good bike for the riders so they can win a race and at the same time contribute to the constructors' competition. If Marquez or anybody else wins a race or championship, then the answer would be because of the rider and the bike quality. It doesn't make sense to assume that it's only because of the bike. Even if that's true, the settings of that bike or the quality of that bike come from their own research, trial and error, and so on.