Thanks for your question! Since you’ve moved to a different state and are now living in that state, it’s recommended that you change your car insurance to where you’re stationed. Every state has different rules regarding what’s required for car insurance, and you want to make sure that you have the proper coverage. However, if you return to Texas for a time but your primary home stays in Maryland, you can keep your policy in Maryland.
A good rule of thumb for this kind of situation is to make sure that you are insured in the state where your car is registered. When you buy a car in Maryland, it will be registered there and so you should have a Maryland policy.