Your mom's sentence is pretty standard:
Why and how does the pH level affect the resulting popping boba?
The interrogative adverbs "why" and "how" are connected in series. When two items are connected in series, we can make the second one nonrestrictive. In order to do so, we surround both it and the preceding conjunction with paired punctuation:
Why, and how, does the pH level affect the resulting popping boba?
Why (and how) does the pH level affect the resulting popping boba?
Why--and how--does the pH level affect the resulting popping boba?
It is fairly common to omit one of a pair of commas, but such constructions are usually clearer if you include both.
(It is also possible that ", and" separates two main clauses, the first consisting of only the word "why". However, I don't think that that is what you mean.)