Baby stops eating solid food

My one year old was eating solid food while home, however she went to visit and spend some time with her dad and his family and They have tried given her foods she usually eat but she refuses to eat it. She’ll eat the soft baby food by gerber but not actual cooked food. Can it be because shes away from me and home?