If I fast for 24 hours will I get ulcer?

I dont eat at work and my coworkers think I will get ulcer for not eating for 21 hours. I mean I eat lunch in our home at 11 am and I just bring water bottle at work and just drink water at work with free water in our office. And my coworkers think I will get ulcer for not eating dinner. My work starts at 6pm-7 am and I just dont eat dinner I thought fasting would help me clear my mind since I have anxiety. Sometimes my coworker would offer me coffee and bread cuz they thought I didn't eat. They saw me not eating lol
If I fast for 24 hours will I get ulcer?
Post Opinion