What is the cause of the following sentence?

The woman was mistaken for her sister.
The woman looked like her sister.