Speed Different

Very strange phenomenon, I have the same server on my mac and the speed test shows around 60-70 mbps. I run the speed test on the exact same file on my iPad with WiFi 6 support, it has only 4-5 mbps. I have no clue why. Any help would be appreciated.

Server sharing through SMB. I stopped the test on mac before testing it on ipad. Both of them are connected to the server through the same wifi.