Atticus went to the jail to protect Tom Robinson because there were speculations that some of the townspeople were planning to break into the jail where Tom was and lynch him.