The galaxy-IGM connection in the first billion years