This is the way it works in my game, and the way that the current rules seem to be set up.
Let's imagine that the following encounter is happening. The DM has set up an ogre ambush at a ravine the party is about to go through. If the players say nothing other than they are going through, then they will receive passive perception chances to detect the ambush as it happens. Surprise! There's no reason to give them any further chances to detect the ambush.
Indeed, which is why I've always insisted that the PCs get earlier chances only "if they take the appropriate precautions", which is what the travelling rules are about. And it's a good thing that they are in the PH, so that in particular beginning players can understand the advantage of a good marching order, of posting sentries, of having people doing different tasks, but also of assigning the right people to the right task.
However, if the following happens it would be different.
DM: "The road you are following twists and turns. As you round this last turn, you see that the road straightens out as it enters a ravine."
Wizard player: "I'm going to read the new spellbook we found in the ruined tower and see what spells it contains."
Fighter player: "Hmm. This ravine looks like a good place for an ambush. I'm going to watch the ridges on both sides carefully for signs of enemies."
Now I have something besides the passive perception as the ambush happens to work with.
And on this, I agree again, just pointing out that this is a slightly different discussion than the travelling rules, as this is a specific situation set-up and not the "routine" travelling from point A to point B (relatively far away, a days travel along the road, but maybe only a few minutes away on the other side of a dungeon complex). In effect, what you are setting above is already an encounter, since there is that suspicious ravine.
I know that the wizard is distracted and won't get either an active perception check or a passive one if/when the ambush happens. However, since the fighter is actively looking for an ambush, I will give him an active perception roll vs. the ogre's stealth check to detect the ambush before the attack begins. If he succeeds he can warn the group. If he doesn't, well he still has his passive perception to see if he is surprised.
We agree, with (I hope) just the precision that although the Wizard will not get any check to detect the ambush in advance, he would get his PP for surprise like anyone else.
This is not how passive checks work. Passive checks happen with the assumption that the activity is routine and the people involved are just doing their every day thing. People who are declaring that they are specifically watching for threats aren't passively perceiving. They are actively perceiving.
For me, this is because you have clearly set-up the ravine as more than "just travel", it's presented as an encounter in its own right, and therefore shifting out of the pure travel rules to encounter mode is justification enough for the change.
Contrast the difference with the description of a travel that says "you are travelling in what looks like the shattered plains (from Stormlight Archives), almost always at the bottom of chasms." In which case, a particular ravine would not draw particular attention, and the travel rules could be used with passive perception only for the people looking out for danger. It's the difference (well noted in the rules) between specific encounters and "routine use" of a skill, multiple ravines make the checks routine.
After that, you could have a group that is so stressed by the possibility of ambushes, that they would treat each ravine as a possible encounter, which is fine as well, just let them know that the precautions that they are taking are efficient (they get active checks), but that it makes their journey much longer.
Yeah. I'm using the differentiation to note the difference between, "I'm carefully watching the ravine ridges for possible ambush(action on the part of the PC)" and "I'm just going to look every which-a-way in my usual repeated pattern without actually saying anything to the DM(passive perception)." The former warrants a roll if the outcome is still in doubt. Passive perception doesn't cover declared actions.
I think we agree about the general principle, the thing is that the travel rules cover the part where there are not declared actions other than general watchfulness, because it's a long activity, mostly routine.