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. Alternate translation: "God reveals from heaven how angry he is with people because they are ungodly and do unrighteous deeds" (See: [[rc://en/ta/man/jit/figs-abstractnouns]] and [[rc://en/ta/man/jit/figs-metonymy]])
Here "truth" refers to true information about God. Alternate translation: "hide the true information about God" (See: [[rc://en/ta/man/jit/figs-explicit]])