The correct answer is: D. is getting

The sentence is in the simple present tense, so the correct answer must also be in the simple present tense. The other options are in the past tense, present perfect tense, or past participle form.

The word "arrive" means to come to a place. In this sentence, it is used to describe the action of the subject, "we," entering the forest. The word "darker" means less light. In this sentence, it is used to describe the condition of the forest as the sun sets.

The sentence can be paraphrased as follows: "As we enter the forest, it is getting darker." This paraphrase makes it clear that the action of entering the forest is happening at the same time as the condition of the forest getting darker. This is consistent with the use of the simple present tense in the original sentence.

The other options are not consistent with the meaning of the sentence. Option A, "arrived," is in the past tense. This would imply that the action of entering the forest has already happened, which is not the case. Option B, "has been getting," is in the present perfect tense. This would imply that the condition of the forest has been getting darker for some time, which is also not the case. Option C, "arrive," is in the infinitive form. This would imply that the action of entering the forest is about to happen, which is also not the case. Option E, "have arrived," is in the past participle form. This would imply that the action of entering the forest has happened and is now complete, which is also not the case.

Therefore, the correct answer is: D. is getting