It's probably going to depend on the context a bit, but how about: "How does something like that/this happen?"?