Cs2 Cpu usage

last week or so not sure what’s been going on but when playing cs2 i’ll get a notification from my pc saying that cs2 has trigger a high cpu usage, weird but okay sometimes it spikes, next thing you know my pc will black screen and my fans will run at 100% speed, not sure why this is happening but it only happens when i run cs2, i can play rust completely fine or any other games, i have validated the files on steam for cs2 and updated my drivers for everything as well not sure what else to try and fix