You guys in PA are lucky. We've got some goofy rules here in WI on sales tax.
A retaining wall that is more ornamental than structural gets taxed. One that is more structural than ornamental is not. Where is the line drawn between the two? Hard to say.