how do volcanic rocks affect beach sand