This behavior may be a way to seek a closer relationship, because sharing food is regarded as an act of sharing and giving, which may imply that he has an emotional tendency towards you. He may want to express his concern and love for you in this way.
However, it may not be accurate to judge whether he likes you only from this behavior. Everyone has different expressions. Some people may show their love by giving gifts or sharing food, while others may choose other ways. Therefore, you may need to observe his other behaviors and attitudes to determine whether he really likes you.
Most importantly, communication and understanding each other's feelings are the foundation of any relationship. You can try to communicate with him more and understand his thoughts and feelings, so as to better judge whether he really likes you. At the same time, you can also express your thoughts and feelings about him in communication to help him get to know you better.