You are not being fired for not having child care: you are being fired for not being available to work the hours or at the location the employer requires. In U.S. law, employment is "employment at will": the employer sets the terms, hours, and location for employment, and the employee has no say in these things. If you don't or can't work when or where the employer wants you to, you may be terminated.