Baby won’t stop crying at his grandmas house

We traveled to the baby’s grandma’s house and he has been crying for hours and hours since yesterday. He won’t sleep either! My son is 2 months old. Do babies understand a change of environment?