It made perfect sense. In fact it was written in crayon on tv for all to see. Lana stuck her HEEL nose in a segment that had nothing to do with her asking to be in the MitB match. McMahon denies the request. Lana further talked HEEL trash to the champion. Lana, in her HEEL hubris says she can beat Naomi and Naomi being hotheaded and having nothing to do wants to fight Lana for what she did and said and is willing to put her title on the line. McMahon says she doesn't have to do it but agrees to it.
This was all very simple logical storytelling. If you didn't like it, that is fine but don't make it out to be something it is not.
Getting a champ to put their title on the line is earning a title shot. It's as much earning a title shot as being the one who can climb a ladder and grab a briefcase.