Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Validation strips off the dashes in a phone number. When the number is displayed, it's hard to read. I believe when user enters the phone number with dashes, they intend to keep the number that way.
my 2 cents.