If I recall correctly, the reasoning behind why Southern forts were named after Southern generals was to gain favor among would be Southern military conscripts.
The bases are located in Southern states which provided the land for the military reservations. A normal person from South Carolina isn’t going to donate land to a post to be named Ft. Sherman, Ft. Grant, etc. Also, historically loyal Southerners have made up the majority of the US military.