There are many reasons why a good computer runs games poorly, first of all make sure that whatever cable youre using to connect your PC to your monitor (HDMI, DVI, DisplayPort, etc) is plugged into your graphics card and not your motherboard. Id also recommend that you make sure your drivers are up to date.
If youve already done the above, you should go into the Nvidia Control Panel and tell your graphics to quit screwing around 😉
This is done by right-clicking over the Windows desktop and selecting "NVIDIA Control Panel"
From the NVIDIA Control Panel, select the "Manage 3D settings" from the left column
Click on the Power management mode drop down box and select "Prefer Maximum Performance"
Now, I know that when I build gaming computers, the Nvidia Control Panel trick is one of the things I do right after installing drivers because it is usually the problem when experiencing bad fps in 3D programs.
If the ladder doesnt work I strongly suggest downloading a software that allows you to monitor CPU and GPU temps and performance to find out what the bottleneck is. One of the programs Id suggest is "MSI Afterburner" because it's one of the few programs that will monitor both CPU and GPU, as opposed to just specialising in one of them.
Good luck, I hope this helps.