How do waves form?