I think it's because he wasn't worthy at that point.
From comic books, we already knew that Captain America is worthy enough to lift Mjolnir.
Thor is the only one who notices, and his reaction is hilariously shaken — which is completely contrasted in Endgame when he actually shouts in elation when Steve is able to pick it up.