IBM didn’t care about gaming, and neither did the early PC clone manufacturers. And early IBM compatible PCs were pretty shitty gaming machines compared to other PCs. And game companies used eye watering hacks to make their games work within the limits of the platform. PC dominance in gaming came after PCs became popular.