thats a thing Hard Drives mostly do, are you sure its not coming from your hard drive?
and check if its held good, check the screws.
My graphics card seems to be getting too hot. Do you know the temperature that the graphics cards tells the system to shut down. I believe and think that is what is going on because it only happens when I play games.