Towed howitzer more survivable? Say what?
It's not very complicated, but unless you've used a drone to watch traffic or seen how armored vehicles look at altitude, it's kind of hard to imagine when comparing protection factors alone.
Self-propelled guns are easier to detect because they move, because they're literally shaped unnaturally (they are boxes), and because they generate dust trails. Movement catches the eye, even relatively bad daytime cameras of drones can spot moving vehicles at ranges of several miles, and then you drop weapons on them.
Self-propelled guns are easier to kill because, even though some of them are armored (Pzh 2000), the vast majority of global howitzer inventory is protected against .30" caliber ball ammunition. This approximates a 155mm shell burst at about 100 meters. Modern howitzers and their ammunition, by which I mean anything from the past 50 years so pretty much every howitzer in the world, has an accuracy of about 30-50 meters. That armor is a liability because it's getting punched through.
The other issue is that for any given angle, there is a higher chance of something being hit on a self-propelled gun, because it presents a larger area target than the "stick and ball" shaped towed gun. While a towed gun might be hit in the breech or the barrel, these are much smaller area targets than "side turret" or "top hull", so the chance of a randomly distributed cloud of fragments hitting them is very low at any point.
The addition of drones and self guiding weapons hasn't helped the calculus, but this was visible in 1973, when the self-propelled pieces were dying at higher rates than towed pieces. At the time it was thought that was because the self-propelled pieces were being put in heavier actions, but in reality, it seems to simply be because the self propelled gun is relatively poorly protected compared to the threat, is harder to hide from the enemy, and is easier to hit when targeted.
You can dig a really big hole and have the turret poking out, but this is no different to a towed gun and in exposed area it is still worse. Towed guns also, at a distance when wearing camouflage netting, are incredibly difficult to distinguish from "fallen tree with moss/lichen web" on it until they fire. Put a powder charge on the end of an actual felled tree, fell a few more around it, and you have something the Soviets were doing in 1944 to bamboozle Nazi flash spotters in Fieseler Storches. It still works today.
The antidote to towed gunnery might be terminally guided Excaliburs that hit anything that looks like a revetment from above. At which point artillery will be very sad because their only effective response will be long-range missiles like GMLRS-ER.