Mojang added temporary capes to celebrate the release of Scrolls 1.0! It can be disabled by goin to Options->Skin Preferences!
No. It's temporarily, and minecraft can't change your optifine cape because the optifine cape is a part of the optifine client, not the the minecraft client.