Ss pin for arduino nano 33 iot

Likely because the display libraries rely on AVR chip specific timings for some display control signals. Or, in the realm of possible error, some pin mix up.

Sometimes the header files (.h) have some info or clues in the form of #defines that select different code for different boards (ideally !).