Creatine converts into ATP
Beta alanine increases muscle carnosine which picks up H+ and in turn leaves more pH. The more H+ you have the faster you fatigue, so you can see how this would help. (in short)
(I don't quite understand it fully yet but i'm working on it lol)