Goldfish are usually one of the few fish that won’t jump out of a tank. They were stressed by something, whether it was a new environment, unsatisfactory conditions, or aggressive behavior from the other fish. Their behavior was not a suicide attempt, it was a reflection of the stress that they were under.
I’m not sure what “hylaries” and “angles” are, but as a general rule, the few fish that can be kept in a bowl rather than a tank environment are goldfish and bettas (a labyrinth fish ).
Are you referring to an angelfish? They have some very specific conditions that they prefer, and are not a good beginner fish. I have no idea what “hylaries” might be.
It’s also not recommend that you mix tropical fish with goldfish (because they tend to overload filter systems) and bettas (contrary to popular myth, the bettas are not too aggressive to live with other fish. Rather, they are poor swimmers and tend to get their long fins picked at by other fish).
Your best bet will to be to find a knowledgeable employee at the pet store and get some information on what types of fish should be kept in what kinds of habitats.