The man is performing a trick on a motorcycle high in the air.
A man is showing off for his friends.
We don't know that the man is with his friends.
Just because a man is performing a trick on a motorcycle it does not mean a man is showing off for his friends.
A man doesn't necessarily perform trick for his friends.