“Davies” and “Davis” would have the same origin, in that they were used as patronymics for sons/daughters of people named David, which became frozen as family names when the rising bureaucratic state demanded that its subjects had consistent ones. If your dad was named David, how your surname was spelled and pronounced would have depended on the regional dialect people around you spoke.
For what it’s worth, Davies is a common Welsh surname.