Lmao. No, one of those is not like the other. At all. Sounds like someone wasn’t paying attention during the harassment training. Basically you have a right to a workspace free from sexual harassment. The behavior described above is either explicitly harassment or getting close enough to it for people to get uncomfortable (and you have a right to not be made uncomfortable due to inappropriate/sexual work situations.)
You don’t have a right to a workspace free of social discomfort or pressure though. Feeling some pressure to bring them a donut isn’t protected in the same way unless it’s becoming harassment.