I think this affidavit was to confirm the son's status as a US citizen who appears to have been in Germany in 1877. If the son was a minor at the time the father naturalized or born after the father naturalized, then he would have been a US citizen. This may have allowed the son to avoid any German military service required of German males at this time and be free to return to the US.