Almost certain it’s the distance. Note that rain can also reduce the signal, a common problem with outbuildings.
As @sidjohn1 said you’re just way beyond normal operating boundaries. The following topics may help. Each is a clickable link.
.
Your best bet is to run power and ethernet to the shed and put the hub there.