This is the most basic way to set up for de-ashi-barai. It’s not the most realistic way to do a footsweep because people don’t normally move this way but it’s the way the fundamentals of footsweeps are taught.
To learn more about de-ashi-barai and other ashiwaza, check out this video from Judo Fanatics (Links in my bio).