Yes, it is a requirement of the US Department of State. Section 22 U.S.C. 2714a and 22 C.F.R 51.60(f) requires you to provide your Social Security number, if you have one, when you apply for or renew a U.S. passport. If you fail to provide the information, you will encounter a delay in processing and/or denial of your passport application.