Your heart rate can rise during gaming for a couple of reasons. Often it's the emotional pull of the game—tension, excitement, or a close call can get your pulse racing.
Physical movement plays a part too, especially in active titles. That said, plenty of people find certain games relaxing, so it really varies from person to person and game to game.