Ask the surname of the older generation, your grandfather, to see if it is the same as most surnames in the two villages.
For example, Village A is surnamed Ma, and Village B is surnamed Yang. If the old men and women in Village A are surnamed Ma and Yang, they can't get married, and vice versa. .......
If three generations intermarry, there will be problems if the children are still born!