The interaction between the fish and two nonliving parts of the environment is best represented by the statement:
"The fish swim over the aquarium rocks to eat leaves from the plants."
In this case, the aquarium rocks are a nonliving part of the environment, and the leaves from the plants (which are living but part of the ecosystem) represent another interaction that includes the nonliving substrate the fish are interacting with (the rocks).