I believe in most game, there is an option to "sync with monitor refresh rate" or something like that, it's only purpose is actually just to avoid screen tearing. If you disable the option, the game will run as fast as it can and the fps will vary. And it's enabled, the game fps will be locked on to 30 or 60 fps(which one is closer to the game's actual fps.