This gets covered in one of my favorite conference talks. "Defcon 21 - DNS May Be Hazardous to Your Health"
https://www.youtube.com/watch?v=9Sgaq6OYLX8&t=900s
(skip to 15:00 if you just want the answer to your question. but the rest of the talk is brilliant)
But basically when the computer can't resolve ".corp" it assumes it isn't an FQDN and starts adding other stuff to try and get an FQDN that does resolve.