In articles I have read about the timing of the Confederate statues in the 1920s and 1940s, the historians' theory is that the statues were intended to send a "white power" message to returning African American veterans of WW I and WW II, who might think they should get treated better after they fought for their country overseas.