Here "a voice came out" is a metonym for someone speaking. It can also be stated clearly who spoke. Alternate translation: "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]])