The plants are beach morning glory, Ipomoea imperati. The notched leaves are typical of the species. As for why they have notched leaves, there's no real good answers except to say that the plant has evolved that way. Not everything trait of a plant has a reason.