For some reason my unreal engine at medium scalability is runniing at 27 fps

so im running a laptop 3070 with a 11th gen i7 running at 4 ghz on average and at medium scalability my gpu and cpu rest at about 30% usage and my fps is low like 27 fps low. the strangest thing is that at some times randomly my cpu and gpu usage spikes to 70% and it gives me 90 fps. i have 40gb of ddr4 ram