While genetically related languages tend to have similar typological features as they could inherit the features from their common ancestor, they could also differ a lot due to language change over time.
languages with no common ancestor could share many features due to language contact and other factors.