Here's why:
* Earthquake is a TM (Technical Machine): It's not a move learned naturally by any Pokémon in Fire Red.
* TMs are found, not bought: You can find TMs in various locations throughout the game, such as hidden in caves or given as rewards.
To get Earthquake in Fire Red, you'll need to find TM44.