A retirement account is a legal container. The IRS writes the rules for what may go in, how much, and when it may come out. The investments inside the container are a second choice. A stock fund in an IRA can fall. The letters IRA do not soften the fall.
People talk about the container as if it were the strategy. 'I have a 401(k)' describes a payroll deferral into a plan. It does not describe whether the plan holds a target-date fund, a bond fund, or company stock. Those are different risks wearing the same label.