Rosie is startled because the two ghosts, Kate and Keith, have appeared in Joseph's room, which Rosie was in at the time.