Explain how a ridge formation is formed.