This version works but the other dont?

I dont understand.