You're forgetting that at the time, they thought the earth was flat. Of course there were volcanoes, but people probably didn't think the bottom of the world was magma anymore than they thought it was gold or any other stuff they could find in the ground.