low level self sabotage
someone i knew explained how she'd sometimes do things just "to annoy myself" - that captures it well i think - setting traps for future you
i don't think it's even that negative - it's quite a healthy reaction to the way we're expected to be efficient and homogenous like machines, all our desires mapped out and catered for, with fancy sausages