In FP, code is not encapsulated. Can you explain why this code does not show encapsulation?

The variables and the function are not grouped together in one objectThe variables and the function are not related

The variables and the function are not grouped together in one object.