Hurricane Dorian was causing crashing waves and impacting Ocean City, Maryland, on Friday as it moved away from North Carolina.