In fixed-size sliding window- the window size is given to you and while solving the problems you can easily slide the window when size is known.
Whereas in variable size window size is not known indeed you are supposed to find window size based on given condition.