And it appears in my humble opinion that this is the explanation: for we have already explained at the beginning of siman 562 that a fast is not a vow but rather a rabbinic mitzvah. And one who conducted himself to fast several times—it was also explained in Yoreh Deah siman 214 that it is like a vow. And there we explained that despite all this, it is not in the category of a vow at all, see there. Therefore, even though during the fixed public fasts or when the public decreed a fast—it is forbidden to eat at any seudat mitzvah, nevertheless, during fasts in which some fast and the majority do not fast; and also those who fast do not do so based on vows of fasting but rather because they conducted themselves so, such as Monday and Thursday and Monday, and the Ten Days of Repentance, and Erev Rosh Chodesh, and a Yahrzeit—if a seudat mitzvah occurred, they may eat without any annulment at all. And we say that they did not conduct themselves with the intention of a matter of a mitzvah, since a fast of custom is very lenient, and on the contrary, it is a mitzvah to eat. Therefore, if on these days there occurred a brit milah, or a pidyon haben, or a siyum masekhta—he eats without any annulment at all. And for a pidyon haben that is not in its proper time he shall not eat, and they shall make the meal at night. (Magen Avraham subsection 10. And what he wrote in subsection 9, that if he knew before Rosh Hashanah that he would have a brit milah he should fast another day in its place, see there—it is a wondrous thing, and it seems to me that the custom is not so. And also what he wrote in subsection 5, that he should fast part of the day, see there—also the custom is not so. And what he wrote there to be lenient regarding a seudat mitzvah, even though he is not connected to it, see there—so they have conducted themselves in our times even on Erev Pesach regarding the firstborns. And what he wrote even for a social gathering, see there—it is a wondrous thing. And similarly what he brought from the Gemara: anyone who benefits from a meal that a Torah scholar is present within—it is as if he benefited from the radiance of the Shekhinah, see there, nevertheless it is difficult to consider it a seudat mitzvah. And we have not heard anyone who would rule so, see there. And examine carefully and you will find it simple.)
ונראה לעניות דעתי דהכי פירושו: דכבר בארנו בריש סימן תקסב דתענית אינו נדר אלא מצוה דרבנן. ומי שנהג להתענות איזה פעמים – נתבאר גם כן ביורה דעה סימן ריד דהוי כעין נדר. ושם בארנו דעם כל זהז אינו בגדר נדר כלל, עיין שם. ולכן אף על פי שבתעניות ציבור הקבועים או ציבור שגזרו תענית – אסור לאכול בשום סעודת מצוה, מכל מקום בתעניתים שיש מתענים בהם ורובם אינם מתענים; וגם המתענים אינם על פי נדרי תענית אלא שנהגו כך, כמו שני וחמישי ושני ועשרת ימי תשובה וערב ראש חודש ויארציי"ט – אם אירע סעודת מצוה יכולים לאכול בלי התרה כלל. ואמרינן דאדעתא דדבר מצוה לא נהגו, כיון דתעניתא דמנהגא קיל טובא, ואדרבא מצוה לאכול. ולכן אם בימים אלו אירע ברית מילה, או פדיון הבן, או סיום מסכתא – אוכל בלא התרה כלל. ופדיון הבן שלא בזמנו לא יאכל, ויעשו הסעודה בלילה. (מגן אברהם סעיף קטן י. ומה שכתב בסעיף קטן ט, דאם ידע לפני ראש השנה שיהיה לו ברית מילה יתענה יום אחר תחתיו, עיין שם – הוא דבר תמוה, וכמדומני שאין המנהג כן. וגם מה שכתב בסעיף קטן ה, דיתענה מקצת היום, עיין שם – גם כן אין המנהג כן. ומה שכתב שם להקל בסעודת מצוה, אף על גב שאינו שייך לה, עיין שם – כן נהגו בזמנינו גם בערב פסח בבכורים. ומה שכתב אפילו לשמחת מריעות, עיין שם – הוא דבר תימה. וכן מה שהביא מגמרא: כל הנהנה מסעודה שתלמיד חכם שרוי בתוכה – כאילו נהנה מזיו השכינה, עיין שם, מכל מקום קשה לחשבה לסעודת מצוה. ולא שמענו מי שיורה כן, עיין שם. ודייק ותמצא קל.)