In state of Texas, the standard contract has option timein it. So if in the option period, you can cancel the contract and get all earnest money back without any reason. The option itself may cost you $100. If your agent does not explain the risk of no option time in the cintract. You may sue he agent.
It is depend on the content of the contract. when you sign a contract and pay the earnest money. You need to know in what condition you can askit back and what condition not. If in any condition you can ask it back, thare are no need for it.