Here "a voice came out" is a metonym for someone speaking. It can also be stated clearly who spoke. AT: "Then someone spoke from the cloud" or "Then God spoke from the cloud" (See: [[rc://en/ta/man/translate/figs-metonymy]] and [[rc://en/ta/man/translate/figs-explicit]])