There is no way your phone is using 5G, it simply doesn't have the hardware required for those frequencies.
If you have AT&T as your carrier, it might say 5Ge which is not really 5G, it's false advertizing on AT&T for their modified 4G signal.
Speed can be hindered by many things, interference from motors, florescent lighting, anything that causes emf, etc. Also delayed signal reflections off of buildings, and a myriad of other influences.
Also cell tower transmitters can only handle so much bandwidth. If hundreds/thousands of cell phones in a big city are using a transmitter, that bandwidth is shared by all those phones. In a rural area, there may be only a few phones sharing the bandwidth of the transmitter.
It actually makes a lot of sense having a faster speed in a rural area as long as the signal strength is good.