They were created. Sharks and rays show no evidence of evolution.
Evolutionists have absolutely no evidence of what sharks and rays evolved from.
Not that evolutionists have indisputable evidence for the evolution of other major kinds of creatures either, but sharks and rays are particularly unkind to them. The reason is that sharks and rays are cartilaginous fishes. The gristle found in meat is cartilage. First sharks were clearly sharks But don't infer that because cartilage has not fossilized that there might have been part-shark ancestors for these creatures that haven't left any trace. Ancient sharks and rays are well known, particularly from teeth and scales that have fossilized.