At least 19 people were killed in the city of Ternopil when missiles hit a residential building, local authorities said.