It’s not such a shocking matter to be aware that the US government has done any number of hypocritical things. One can even understand a slave owner writing “all men are created equal”, provided he doesn’t believe blacks are human beings
I don't doubt that Jefferson was well aware Blacks are human beings. The Declaration of Independence was more a mission statement of where we wanted to get to. Obviously nobody was prepared to live with it literally at the time.