Was this rude of me?

So this guy I know came and sat next to me and said ‘hey lanni!’ (We previously have got on well on a friends basis). I was reading so I paused and said ‘hey James’ without looking up. I then handed him the reading sheet we were focussing on and asked him how he was. He didn’t respond at all which took me a back. We then spent the remainder of the entire meeting both clearly uncomfortable.

worried now as don’t want to have seemed rude but worried I may have?
Was this rude of me?
Post Opinion