Preheat the oven to 375°F (190°C) and lightly grease a 9x13-inch baking dish.
Heat the olive oil in a large skillet over medium-high heat. Add the ground beef and diced onion and cook for 6 to 7 minutes, breaking the beef into crumbles, until it is no longer pink and the onion is soft. Drain off any extra grease.
Add the minced garlic and cook for 30 seconds until fragrant. Stir in the taco seasoning and cook for 30 seconds more. Add the diced tomatoes with green chiles, enchilada sauce, pinto beans, and corn. Stir well, bring to a gentle simmer, and cook for 10 minutes until the chili is thick.
Spread half of the Fritos in the prepared baking dish. Sprinkle half of the cheddar and Monterey Jack over the chips to create a cheese barrier. Spoon all of the beef chili evenly over the cheese, then sprinkle the remaining cheese on top. Set aside the remaining 1 cup of Fritos for the topping.
Bake uncovered for 15 minutes, until the cheese is melted and bubbling. Scatter the reserved Fritos over the top and bake for 5 minutes more.
Let the casserole rest for 5 minutes so the cheese sets. Top with sour cream, sliced green onions, diced tomato, and pickled jalapenos. Serve hot.