Use the sentences to answer the question.

The official population of some states increased, while the populations of others decreased. As a result, the number of U.S. representatives allocated to these states changed.

What type of interaction does the underlined phrase show?
(1 point)
Responses

problem and solution
problem and solution
compare and contrast
compare and contrast
cause and effect
cause and effect
chronological

compare and contrast

cause and effect