Hello Randa,
Due to the architecture of normal GPIO, all digital IO pins states are readable through normal GPIO module from the GPIO read path, independent of which function is chosen for this pin(UART,SPI,I2C,etc). As a result, there is a possibility of leaking information from secure resource.
The application note for secure gpio will provide the details of what it entails such as the secure gpio mask that is implemented in order to turn on and off the state of this peripheral.
Hope this helps.
Have a great day!
Sabina