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.
While it's true that massive architectural structures can have symbolic value, their primary purpose often included expressing power, legitimacy, and religious devotion in societies. The construction of temples, monuments, and public buildings served to reinforce the authority of governments and the significance of their religious beliefs.