PEG absorbs water very efficiently, and by that is able to pull H2O away from the water structure around B-DNA that keeps it in solution. Once that happens as explained by Oliver, the DNA basically falls out of solution. The same phenomenon can happen when adding Ethanol - which outcompetes the hydrogen bonds of water - thereby disrupting water structure around the DNA lattice.