I can't really say if t it's the gun or the scope but the scope is defective if it will not focus at 30 yards. Also grab the eyepiece and try to wiggle it. If it wiggles. mine did then it will likely not return to zero after you shoot or bump it slightly so each shot is a bit random.
My Hawke 4x12x40, UTG SWAT, Falcon Menace, and as late my USO TS 12X all have this problem. Fast focus equals a HUGE FAIL in my opinion. Warranted the USO cuz I caught it in time. Just used the o-ring trick on the rest and they are actually doing OK.
https://www.airgunnation.com/topic/groups-moving-around-maybe-your-scope-is-the-problem/?referrer=1 I know what you are going through, with the gun, as well. I am on my 3rd replacement barrel for my SK-19 been waiting for months for it. Poor QC really sucks.