Firstly, nobody said a Pokemon's appearance would prevent it from learning a move. Aggron's similarity to a Dragon may be a possible explination to this, as Dragons are known to breathe fire and use moves that resemble that.
Otherwise, that is how Game Freak made it and there isn't much we can do to change that. To be honest, it was just logic in this case.