These structural dissimilarities suggest that bird wings and bat wings were not inherited from a common ancestor with wings.
The bird ancestor that lived in trees developed wings, which is commonly associated with birds.