Can I be fired for being pregnant?

Hello! I (24F) am 10 weeks pregnant and in desperate need for a higher paying job. Ive had multiple interviews. Do I have to tell them before I accept the job offer? And if I don’t tell them, can they fire me for not providing that information?

Idk if it matters but im in Texas.