Usually, when a trap is used in a game, it's used in one of two ways. Either it's made as obvious as possible, so you can easily dodge it, or it's made a little more complex so you can feel smart when you finally work it out.
Or, at least, that's how it's supposed to go. Even with the best laid intentions, though, easy traps can still kick your ass. Ironically, this is often because the more obvious a trap is, the more likely players are to want to see what happens if they trigger it - even when it's pretty clear that the only thing that will happen is their own deaths.
And even when this isn't the case, sometimes you just don't register a trap until it's too late, despite how clear the whole thing seemed in retrospect.
While it always feels a little embarrassing, dying to a clear trap isn't anything to be ashamed of - especially as it often gives you an experience many other plays would never have gotten. Because they all had the common sense to avoid it, true, but maybe don't focus on that for too long.