Question: why does someone show up on messenger but not facebook?
Answer: Probably your friend has deactivated his/her account but still using Messenger. Anyone can deactivated his/her Facebook account and keep using Messenger. To test the Blocking scenario, try to send a message to your friend, if it didn't popup a notification that you are blocked to send message, then you are not blocked.