I assume you are running Raspbian (you don't say).
Do You know what can be causing the problem
It might have something to do with the fact that you ignored the comment in the /etc/network/interfaces
file
# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'
See How do I set up networking/WiFi/Static IPHow do I set up networking/WiFi/Static IP
PS I presume you copied the config from somewhere; please indicate where so we may be able to stop people using it.
PPS Your static settings make no sense, you are trying to allocate the same address to the Pi and the gateway.