There are seven uniformed services. Two are considered Military Service, the Army and the Air Force.
The other five are considered Naval Services. They are the Navy, Marine Corps, Coast Guard, the Public Health Service Commissioned Corps, and the NOAA Commissioned Officer Corps.
The Surgeon General is the head of the Public Health Service Commissioned Corps, hence he is an admiral.
WWG1WGA
Garde la Foi, mes amis! Nous nous sommes les sauveurs de la République! Maintenant et Toujours!
(Keep the Faith, my friends! We are the saviors of the Republic! Now and Forever!)
LonePalm, le Républicain du verre cassé (The Broken Glass Republican)
So you wouldn’t address the Surgeon General as a General, but Admiral. Because they are not Generals, although they do have a military rank, under a different legal basis. Same with the Attorney General, who do not have a military rank at all, but a title based on their position.
The slide has been interesting, but it has probably gone on long enough. I learned about the Surgeon General being an Admiral, and confirmed that the Attorney General is not a General, just a general, non-specific, attorney.