You need to understand how eager loading works...
$categories = Category::where('somthing', $something)->get();
return $categories->load(['articles']);
// Means Fetch all categories where something = $something
//Fetch all articles where category_id in (list of ids loaded above)
$categories = Category::where('somthing', $something)->get();
return $categories->load(['articles' => function($q) {
$q->latest()->paginate()
}]);
// Means Fetch all categories where something = $something
//Fetch all articles where category_id in (list of ids loaded above) Limit x,y
Where do you see,fetch ... limit x,y per category being applied ???