The PCs are traveling overland. Various NPCs (all controlled, of course, by the DM) tell them that it is important to donate to the shrine at the crossroads, to ensure a safe journey. The NPCs say that ignoring the shrine is sure to bring misfortune. The donation amount is a significant expenditure for the PCs.
There is a surprising amount of potential complexity beneath the surface in examples like this. In-game choices intersect with player choices via metagaming (and metagaming is good player behavior, not bad). What might the DM be doing here? The players may consider the following possibilities.
Worldbuilding. The shrine is an opportunity for the DM to illustrate local beliefs and add some texture and life for the world. The PCs can engage with the shrine or not; it won’t have any direct bearing on future events in the game.
Foreshadowing. The shrine decision itself has no actual stakes, but it is a theme the DM intends to iterate upon. The DM will later present a similar choice with higher stakes. The escalation of the theme may continue until the party engages with it or otherwise resolves the tension.
Consequences (direct). The shrine is literally controlled by some minor god, spirit, or genius loci, in just the way the locals expect, which will cause some explicit consequences for the PCs.
Consequences (framing). The DM does not do anything differently, but instead frames any setbacks in the subsequent journey as a consequence of skipping the shrine. In this instance there actually was no real choice, and the shrine “decision” was just a set to facilitate later spikes by the DM.
Consequences (retroactively diegetic). The shrine has no effect, but later, someone may cast Zone of Truth or a similar truth-seeking spell on the PCs, and ask them what choice they made. Their answer has social consequences.
Consequences (factions and fronts). Factions or fronts in society care about the shrine. They may even be forces the PCs haven’t yet seen. Refusing to donate to the shrine may escalate a clock or decrement a reputation ranking.
This is by no means an exhaustive list! Players could be considering literally dozens of overlapping agendas and incentives when assessing this choice, although they are surely not consciously enumerating most of these points. None of these are strictly right or wrong (although some can certainly lead to an r/rpghorrorstories post with the wrong execution).

