The best explanation for why architecture was used extensively in both river valley civilizations and classical civilizations is: Governments used architecture to communicate religious messages to citizens.
This reflects the importance of monumental architecture in expressing political power, societal values, and religious beliefs, serving as a means of communication with the populace.