Why is this 2x4 so much more expensive than these other 2x4s?

The quality is very different between the two. One is a Stud grade piece of lumber and the other is Utility grade. The Utility grade is much lower quality and shouldn’t be used for construction in load bearing walls.