Boyfriends friends

Should I be upset with my boyfriend because he takes hours to respond to me when he's with his friends? I always give him space and I understand we don't need to be in contact every second of the day, but today I felt like I needed him due to a personal issue and he wasn't there to comfort me