Each file requires opening a tcp connection, negotiating a tls connection, and sending a whole bunch of headers both ways. All of this costs network bandwidth and computational resources on both the client and server sides. Too many small files is definitely bad for performance, although how many is too many depends a lot on the context.