The correct answer is by birth and naturalization.
If you are born to parents at least one of which is a U.S. citizen at the time of your birth, then you automatically gain a U.S. citizenship which means gain a citizenship through birth. While it does not matter whether you were born in the USA or in another foreign country.