Google obviously puts high trust in this domain as it has many high trust links, typical for .gov domains. In this case this seems to have been enough for the algo to assume, that doioig.gov is the more important domain and should replace StackOverflow.