Were they housed together??

If so I have seen this. They get so used to having each other in the enclosure, that when one is suddenly gone, they will notice.

It subsides with time.

Much the same they will also behave differently when introduced to a new cage mate.