TLE with my code

public static void bubbleSort(int[] arr,int index,int j){
if(index==arr.length) return;
if(j==arr.length-1) return;
if(arr[j]>arr[j+1]){
int temp = arr[j];
arr[j] = arr[j+1];
arr[j+1] = temp;
}
bubbleSort(arr,index,j+1);
print(arr);
bubbleSort(arr,index+1,0);
}

Why my code is giving TLE