As we saw in the flashback during the final battle madara is shown with a personality close to insanity. When now he is cool and relaxed even he said obito was acting like how he used to. What happened or is he still like that.