The words "ungodliness" and "unrighteousness" are abstract nouns that can be expressed using the adjectives "ungodly," which describes the people, and "unrighteous," which describes their deeds. These nouns are metonyms for the people with whom God is angry. You can translate this in active form. AT: "God reveals from heaven how angry he is with people because they are ungodly and do unrighteous deeds" (See: [[rc://en/ta/man/translate/figs-abstractnouns]] and [[rc://en/ta/man/translate/figs-metonymy]])