They may go through different developmental and functional stages before they are fully alike. Analogous structures are not necessarily evidence that two species came from a common ancestor. It is more likely they came from two separate branches of the phylogenetic tree and may not be closely related at all.