Flak comes from the German word for anti-aircraft fire - Flugabwehrkanone.
As a young man I worked with a WWII vet, a tail gunner in a B-17, who was shot down on his second mission over Nazi Germany and spent 18 months in a POW camp. He didn't like catching flak.