She’s not acting strangely. She’s doing exactly what’s she programmed to do. The Machine can tell us where to go, who’s in trouble, but we still have free will. Max chose to risk his life, she can’t stop him from doing that, and now Shaw knows that we haven’t given up on her. I wish we could’ve saved Max, but if we were able to give Shaw some kind of hope, maybe it was worth it.